<!DOCTYPE html>
<!-- thymeleaf支持 -->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>区块链学院学生竞赛管理系统</title>
    <link rel="stylesheet" href="/res/css/pintuer.css">
    <link rel="stylesheet" href="/res/css/admin.css">
    <script src="/res/js/jquery.js"></script>
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
    <div class="logo margin-big-left fadein-top">
        <h1><img src="/res/images/y.jpg" class="radius-circle rotate-hover" height="50" alt="" />区块链学院学生竞赛管理系统
        </h1>
    </div>
    <div class="head-l" style="float: right">

        <a href="##" class="button button-little bg-blue">
            <span class="icon-wrench"></span> 清除缓存</a> &nbsp;&nbsp;
        <a class="button button-little bg-red" href="#">
            <span class="icon-power-off"></span> 退出登录</a>&nbsp;&nbsp;
    </div>
</div>
<div class="leftnav">
    <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
    <h2><span class="icon-user"></span>基本设置</h2>
    <ul style="display:block">
        <li><a th:href="@{/getStudentByStuNo(stuNo=${stu.stuNo})}" target="_self"><span class="icon-caret-right"></span>个人信息</a></li>
        <li><a href="/showNotices" target="_self"><span class="icon-caret-right"></span>系统消息</a></li>
        <li><a th:href="@{/getAllFavoriteByUserNo(stuNo=${stu.stuNo})}" target="_self"><span class="icon-caret-right"></span>收藏列表</a></li>
        <li><a href="/stugetAllCompetitionsByPages" target="_self">
            <span class="icon-caret-right"></span>竞赛信息</a>
        </li>
        <li><a th:href="@{/selectAllApplicationsByStuNo(stuNo=${stu.stuNo})}" target="_self"><span class="icon-caret-right"></span>报名记录</a></li>
        <li><a href="#" target="_self"><span class="icon-caret-right"></span>上传备赛进度</a></li>
        <li><a href="/toAchievement" target="_self"><span class="icon-caret-right"></span>上传竞赛成果</a></li>


    </ul>

</div>

<script>
    console.log(stu)
    var comId = localStorage.getItem("comId");
    var comName = localStorage.getItem("comName");
</script>

<script type="text/javascript">
    $(function() {
        $(".leftnav h2").click(function() {
            $(this).next().slideToggle(200);
            $(this).toggleClass("on");
        })
        $(".leftnav ul li a").click(function() {
            $("#a_leader_txt").text($(this).text());
            $(".leftnav ul li a").removeClass("on");
            $(this).addClass("on");
        })
    });
</script>
<ul class="bread">
    <li><a href="#" target="_self" class="icon-home"> 首页</a></li>
    <li><a href="##" id="a_leader_txt">网站信息</a></li>
    <li><b>当前语言：</b><span style="color:red;">中文</php></span>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;切换语言：<a href="##">中文</a> &nbsp;&nbsp;<a href="##">英文</a> </li>
</ul>

<div class="admin">
    <h1 style="text-align: center"><span class="icon-check text-green" style="font-size: xx-large"></span>&nbsp;&nbsp;恭喜你，成功报名</h1><br>
    <h1 th:text="${comName}" style="text-align: center;color:#00aaee"></h1><br>
    <h3 style="text-align: center">
    (<a th:href="@{/selectAllApplicationsByStuNo(stuNo=${stu.stuNo})}" style="text-decoration: none">点击查看报名记录</a>)</h3>
</div>


</body>
</html>